package com.memorypalace.deck.mapper;

import java.util.List;

import com.memorypalace.deck.vo.ScreenConditions;
import com.memorypalace.pojo.NoteType;

public interface NoteTypeMapper {
	// 增
	Boolean addNoteType(NoteType noteType);
	// 删
	// 改
	Boolean editNoteType(NoteType noteType);
	// 查
	NoteType getNoteTypeWithCardStyleByNoteTypeId(String noteTypeId);
	// 给一个noteTypeId也行
	NoteType getNoteTypeByScreenConditions(ScreenConditions screenConditions);
	List<NoteType> getNoteTypeWithCardStyleByUserId(String userId);
	List<NoteType> getNoteTypeWithCardStyleByScreenConditionsAndUserId(ScreenConditions screenConditions);
	NoteType getNoteTypeById(String NoteTypeId);
}
